package com.ss.spider.system.user.mapper;

import com.ss.mapper.CWMapper;
import com.ss.spider.system.user.model.User;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserMapper extends CWMapper<User> {

    List<User> gets(Map<String, Object> paramMap);

    List<User> list(User paramUser);

    List<User> pages(User paramUser);

    int save(User paramUser);

    int updateNotNull(User paramUser);

    int update(User paramUser);

    int remove(Map<String, Object> paramMap);

    int discard(Map<String, Object> paramMap);

}
